// @ts-ignore
import styled from "styled-components";
// @ts-ignore
// import userHeadBg from "../../assets/image/user_head_bg.png";
// import userHeadBg2 from "../../assets/image/user_head_bg2.jpg";
import userHeadBg3 from "../../assets/image/user_head_bg3.jpg";
type props={
  $cover?:string
}
const MineIndexStyle=styled.div<props>`
  position: relative;
  .mine-head-box{
    position: relative;
    background-image: url("${userHeadBg3}");
    background-size: 100%;
    background-position: center;
    overflow: hidden;
  }
  .mine-head-box-mask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
  }
  .mine-head-user-box{
    display: flex;
    position: relative;
    width: 1200px;
    margin: 50px auto;
  }

  .user-cover{
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background-image: url("${(props:props)=>props.$cover}");
    background-size: 100% 100%;
    background-position: center;
    
  }
  .user-nickname{
    font-size: 36px;
    padding: 15px;
    color: #FFFFFF;
  }
  .user-motto{
    height: 80px;
    line-height: 40px;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-indent: 2em;
    font-size: 20px;
    color: #999999;
    overflow: hidden;
    
  }
  .user-other-info-ul{
    display: flex;
    margin: 20px 0;
    color: #FFFFFF;
  }
  .user-other-info-ul li{
    text-align: center;
    padding: 0 30px;
  }
  .user-other-li-number{
    font-size: 26px;
    height: 60px;
    line-height: 60px;
    cursor: pointer;
  }
  .user-other-li-number:hover{
    color: var(--theme-color);
  }
  .user-other-li-title{
    font-size: 15px;
  }
  .user-message{
    padding: 0 30px;
    flex: 1;
    min-width: 500px;
  }
  .mine-head-nav-box{
    display: flex;
    width: 60%;
    margin: 0 auto;
  }
  .mine-head-nav-box li{
    font-size: 20px;
    margin: 20px 30px;
    cursor: pointer;
  }
  .mine-head-nav-box li a:hover{
    color: var(--theme-color);
  }
  .mine-content-box {
    width: 1200px;
    margin: 20px auto;
  }
  //当前活动页面的导航栏样式
  .active{
    color: var(--theme-color);
    background: transparent;
  }
  .active:hover{
    
  }
  .login-btn{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 20px;
    padding: 10px 40px;
    height: 60px;
    background: transparent;
    color: #FFFFFF;
  }

`;
export default MineIndexStyle;
